package com.kaaction.modules.crab.utils;

import java.util.List;

import com.kaaction.common.utils.SpringContextHolder;
import com.kaaction.modules.crab.dao.CarrierDao;
import com.kaaction.modules.crab.dao.CompanyDao;
import com.kaaction.modules.sys.entity.Dict;

public class CrabUtils {
	
	private static CarrierDao carrierDao = SpringContextHolder.getBean(CarrierDao.class);//快递公司
	
	
	private static CompanyDao companyDao = SpringContextHolder.getBean(CompanyDao.class);//快递公司
	
	public static List<Dict> getCarrier() {
		return carrierDao.getCarrier();
	}
	
	public static List<Dict> getCompany() {
		return companyDao.getCompany();
	}

}
